import { _decorator, Component, Label, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('TipsManager')
export class TipsManager extends Component {


    init(msg){
        console.log("TipsManager init", msg);
        this.node.getChildByName("Label").getComponent(Label).string = msg;

    }
    start() {
        console.log("TipsManager start");



    }

    reset(){
        this.node.getChildByName("Label").getComponent(Label).string = "";
    }

    update(deltaTime: number) {
        
    }
}


